from typing import *


class Solution:
    def hasIncreasingSubarrays(self, nums: List[int], k: int) -> bool:
        f = [1] * len(nums)
        for i in range(1, len(nums)):
            if nums[i] > nums[i - 1]:
                f[i] += f[i - 1]
            if f[i] >= k and i - k >= 0 and f[i - k] >= k:
                return True
        return False
